<?php
class Model_Tests extends Zend_Db_Table_Abstract {
    public function getCaseData($app){
        $db = $this->getDefaultAdapter();
        $sql = sprintf("SELECT APP_DATA FROM APPLICATION WHERE APP_UID = '%s'", $app);        
        $stmt = $db->query($sql);
        $tData = stripslashes(stripslashes(stripslashes($stmt->fetchColumn())));
        echo $tData;
        die();
        $data = unserialize($tData);
        return $data;
    }
}
?>
